/**
 * 
 */
jQuery(function() {
	
	function swapCaroussel(){

	    var activeImg = jQuery('.showCa'); 
	    var nextImg = (jQuery('.showCa').next().length > 0) ? jQuery('.showCa').next() : jQuery('#viewPortLeft img:first');	    
	    
	    nextImg.fadeTo( "slow" , 1);
	    nextImg.removeClass('hide');
	    nextImg.css( "height", "494px" );
	    nextImg.addClass('showCa');
	    
	    activeImg.fadeTo( "slow" , 0);
	    activeImg.removeClass('showCa');
	    activeImg.css( "display", "none" );
	    activeImg.addClass('hide');
	    
	    var i = jQuery('#viewPortLeftPoint2').css("left");
            if(typeof i !== 'undefined'){
                i = parseInt(i.replace('px',''));
                i = (i < 65) ? i + 19 : 15;

                jQuery('#viewPortLeftPoint2').css("left",i + "px");   
            }
   };
   
   setInterval(swapCaroussel, 5233);
});


/*6233*/